package cn.xinfei.xdecision.common.model.component.scorecard;

import cn.xinfei.xdecision.common.model.BaseDO;
import cn.xinfei.xdecision.common.model.component.IgnoredParamCheck;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("`t_scorecard_version`")
public class ScorecardVersion extends BaseDO implements Serializable {
    private static final long serialVersionUID = -1850194333747447612L;

    /**
     * 评分卡id
     */
    private String scorecardCode;

    /**
     * 版本号
     */
    private Long versionNo;

    /**
     * 描述信息
     */
    @IgnoredParamCheck
    private String description;
    /**
     * 状态：-1 删除 0停用 1启用
     */
    @IgnoredParamCheck
    private Integer status;
    /**
     * 计算方式1,求和，2，甲醛求和
     */
    private Integer scoreCalculateType;
    /**
     * 评分卡结果en
     */
    private String resultFieldCode;
    /**
     * 组织id
     */
    private Long organId;

    /**
     * 默认值输出
     */
//    private String defaultValue;

}
